package org.neuedu.ssmp.crm.controller;

import org.neuedu.ssmp.crm.entity.Fw;
import org.neuedu.ssmp.crm.service.IFwService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/b")
public class FwController  {
    @Autowired
    private IFwService iFwService;
    @RequestMapping("/a")
    public List<Fw> sum(){
        return iFwService.sum();
    }
    @RequestMapping("/b")
    public List<Fw> fw(Fw createTime){
        return  iFwService.fw(createTime);
    }
    @RequestMapping("/c")
    public List<Fw> fw(){
        return  iFwService.fw1();
    }
}
